package com.tc.gateway.tunnel;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.MulticastSocket;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.UnknownHostException;

import com.tc.serial.SerialStream;

public class MultiTunnelClient extends MultiConnection implements TunnelClient {

	public MultiTunnelClient() throws IOException{
		super(false);

	}



	public void ClosePort() {
		// TODO Auto-generated method stub

	}

	static public void main(String[] s) {
		try
		{
			MultiTunnelClient t = new MultiTunnelClient();
//			t.getOutputStream().write("ggggg".getBytes());
			byte[] buf = new byte[1000];
			
			t.getInputStream().read(buf);
			System.out.println(new String(buf,0,5));

	} catch (IOException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	}
}
